//
//  NewsSearchResultModel.m
//  CPU_Utility
//
//  Created by leonardo on 15/10/21.
//  Copyright © 2015年 leonardo. All rights reserved.
//

#import "NewsSearchResultModel.h"
#import <MJExtension.h>
@implementation Imageurl
@synthesize height,url,width;
@end

@implementation Content
@synthesize channelId,channelName,desc,link,nid,pubDate,source,title;
- (instancetype)init
{
    self = [super init];
    if (self) {
        [Content setupObjectClassInArray:^NSDictionary *{
            return @{@"imageurls" : @"Imageurl"};
        }];
    }
    return self;
}
@end

@implementation NewsSearchResultModel
@synthesize allNum,allPages;
- (instancetype)init
{
    self = [super init];
    if (self) {
        [NewsSearchResultModel setupObjectClassInArray:^NSDictionary *{
            return @{@"contentlist" : @"Content"};
        }];
    }
    return self;
}
@end
